package com.esc.service;


import com.esc.mapper.ChexiMapper;
import com.esc.model.Chexi;
import com.esc.server.ChexiServiceApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class ChexiServiceImpl implements ChexiServiceApi {

    @Autowired
    private ChexiMapper chexiMapper;

    @RequestMapping("queryChexiList")
    public List<Chexi> queryChexiList() {
        return chexiMapper.queryChexiList();
    }
}
